package com.company.bkst.service;

import java.util.ArrayList;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import com.company.bkst.Book;
import com.company.bkst.service.request.BookRequest;

@WebService
public interface BookServiceSEI {
	@WebResult(targetNamespace="", name="Book")
	public Book getBook(@WebParam(name = "BookRequest") BookRequest bookRequest);
	
	@WebResult(targetNamespace="", name="Books")
	public ArrayList<Book> getAllBooks();
	
	@WebResult(targetNamespace="", name="Books")
	public ArrayList<Book> getBookByTitle(@WebParam(name = "BookRequest") BookRequest bookRequest);
	
	@WebResult(targetNamespace="", name="Books")
	public ArrayList<Book> getBookByAuthor(@WebParam(name = "BookRequest") BookRequest bookRequest);

}
